<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>我的助学岗位申请</title>
<link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   	<table  border="1" cellspacing="0" width="600" >
    <tr>
	    <td align="center" colspan="6" ><font color="#000066" size="+3"  > 
	     我的助学岗位申请</font>
	    </td>
    </tr>
   	<tr>
   	
        <td >单位名称</td>
        <td > 工作内容</td>
        <td>审批理由</td>
        <td >状态</td>
        <td >查看 </td>
       
   	</tr>
   	<c:forEach items="${userPartTime}" var="userPart" >
     <tr>
     
     
       <td >${userPart.pts.company}</td>
        <td >${userPart.pts.content} </td>
        <td>${userPart.comments}
        <c:if test="${userPart.parStatus == 0}">
			<c:out value="还未审批" /></c:if>
        </td>
        <td >   
        
        <c:if test="${userPart.parStatus == 0}">
			<c:out value="审批中" />
		</c:if>
		<c:if test="${userPart.parStatus == 1}">
			<c:out value="通过" />
		</c:if>
		<c:if test="${userPart.parStatus == 99}" >
			<c:out value="驳回" />
		</c:if>
           </td>
       <td>
       <c:if test="${userPart.parStatus == 99}">
		<a href="stufindyptdetil.do?jobId=${userPart.pts.jobId}">重新申请</a>
	 	</c:if>
       </td>
   	</tr>   	
   	</c:forEach>
   	<tr> 
   	<td colspan="6">
   
   	   
   	</table>

	
  </body>
</html>
